﻿/*
 * KLF Headless Browser
 * Written by Kris Oye <kristianoye@gmail.com>
 * Copyright (C) 2011-2012.  All rights reserved.
 */
namespace KLF.Lib.Browser.JavaScriptHelpers
{
    #region Using Statements

    using System;

    #endregion

    /// <summary>
    /// Stub class... plugins collection for the navigator object.
    /// Chances are this thing will always say 'No plugin' in response to a 
    /// page request for a particular plugin.  Might not be a bad idea to
    /// log these and see if there are features worth implementing.
    /// </summary>
    public class Plugins
    {
        public object this[string pluginName]
        {
            get
            {
                Console.WriteLine("The '{0}' plugin was requested.", pluginName);
                return null;
            }
        }
    }
}
